
<%@ page import="aiball.Gamecharts" %>
<!doctype html>
<html>
	<head>
		<meta name="layout" content="main">
		<g:set var="entityName" value="${message(code: 'gamecharts.label', default: 'Gamecharts')}" />
		<title><g:message code="default.show.label" args="[entityName]" /></title>
	</head>
	<body>
		<a href="#show-gamecharts" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>
		<div class="nav" role="navigation">
			<ul>
				<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>
				<li><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></li>
				<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
			</ul>
		</div>
		<div id="show-gamecharts" class="content scaffold-show" role="main">
			<h1><g:message code="default.show.label" args="[entityName]" /></h1>
			<g:if test="${flash.message}">
			<div class="message" role="status">${flash.message}</div>
			</g:if>
			<ol class="property-list gamecharts">
			
				<g:if test="${gamechartsInstance?.league}">
				<li class="fieldcontain">
					<span id="league-label" class="property-label"><g:message code="gamecharts.league.label" default="League" /></span>
					
						<span class="property-value" aria-labelledby="league-label"><g:link controller="league" action="show" id="${gamechartsInstance?.league?.id}">${gamechartsInstance?.league?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${gamechartsInstance?.team1}">
				<li class="fieldcontain">
					<span id="team1-label" class="property-label"><g:message code="gamecharts.team1.label" default="Team1" /></span>
					
						<span class="property-value" aria-labelledby="team1-label"><g:link controller="team" action="show" id="${gamechartsInstance?.team1?.id}">${gamechartsInstance?.team1?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${gamechartsInstance?.team2}">
				<li class="fieldcontain">
					<span id="team2-label" class="property-label"><g:message code="gamecharts.team2.label" default="Team2" /></span>
					
						<span class="property-value" aria-labelledby="team2-label"><g:link controller="team" action="show" id="${gamechartsInstance?.team2?.id}">${gamechartsInstance?.team2?.encodeAsHTML()}</g:link></span>
					
				</li>
				</g:if>
			
				<g:if test="${gamechartsInstance?.team1Goals}">
				<li class="fieldcontain">
					<span id="team1Goals-label" class="property-label"><g:message code="gamecharts.team1Goals.label" default="Team1 Goals" /></span>
					
						<span class="property-value" aria-labelledby="team1Goals-label"><g:fieldValue bean="${gamechartsInstance}" field="team1Goals"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${gamechartsInstance?.team2Goals}">
				<li class="fieldcontain">
					<span id="team2Goals-label" class="property-label"><g:message code="gamecharts.team2Goals.label" default="Team2 Goals" /></span>
					
						<span class="property-value" aria-labelledby="team2Goals-label"><g:fieldValue bean="${gamechartsInstance}" field="team2Goals"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${gamechartsInstance?.team1GoalsHalfTime}">
				<li class="fieldcontain">
					<span id="team1GoalsHalfTime-label" class="property-label"><g:message code="gamecharts.team1GoalsHalfTime.label" default="Team1 Goals Half Time" /></span>
					
						<span class="property-value" aria-labelledby="team1GoalsHalfTime-label"><g:fieldValue bean="${gamechartsInstance}" field="team1GoalsHalfTime"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${gamechartsInstance?.team2GoalsHalfTime}">
				<li class="fieldcontain">
					<span id="team2GoalsHalfTime-label" class="property-label"><g:message code="gamecharts.team2GoalsHalfTime.label" default="Team2 Goals Half Time" /></span>
					
						<span class="property-value" aria-labelledby="team2GoalsHalfTime-label"><g:fieldValue bean="${gamechartsInstance}" field="team2GoalsHalfTime"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${gamechartsInstance?.time}">
				<li class="fieldcontain">
					<span id="time-label" class="property-label"><g:message code="gamecharts.time.label" default="Time" /></span>
					
						<span class="property-value" aria-labelledby="time-label"><g:formatDate date="${gamechartsInstance?.time}" /></span>
					
				</li>
				</g:if>
			
				<g:if test="${gamechartsInstance?.details}">
				<li class="fieldcontain">
					<span id="details-label" class="property-label"><g:message code="gamecharts.details.label" default="Details" /></span>
					
						<span class="property-value" aria-labelledby="details-label"><g:fieldValue bean="${gamechartsInstance}" field="details"/></span>
					
				</li>
				</g:if>
			
				<g:if test="${gamechartsInstance?.gameXML}">
				<li class="fieldcontain">
					<span id="gameXML-label" class="property-label"><g:message code="gamecharts.gameXML.label" default="Game XML" /></span>
					
						<span class="property-value" aria-labelledby="gameXML-label"><g:fieldValue bean="${gamechartsInstance}" field="gameXML"/></span>
					
				</li>
				</g:if>
			
			</ol>
			<g:form>
				<fieldset class="buttons">
					<g:hiddenField name="id" value="${gamechartsInstance?.id}" />
					<g:link class="edit" action="edit" id="${gamechartsInstance?.id}"><g:message code="default.button.edit.label" default="Edit" /></g:link>
					<g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" />
				</fieldset>
			</g:form>
		</div>
	</body>
</html>
